.nav-bar {
  position: fixed;
  width: 100%;
  top: 0;
  left: 0;
  color: #fff;
  background-color: #fff;
  z-index: 10;
}

.nav-bar .search {
  width: 100%;
  color: #333;
  font-size: 14px;
  background: #fff;
  position: absolute;
  left: 0;
  padding-left: 20rpx;
  display: flex;
  align-items: center;

  .text {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    background: #fff;
    font-size: 24rpx;
  }
}